package com.ransj.ndkpath.gles;

import com.ransj.ndkpath.common.ChildActivity;


public class PageEGL extends ChildActivity{
	private static final String TAG = PageEGL.class.getSimpleName();
	private static final String LIB_GLES = "gles";
	private static final String NAMES[] ={//
		"INIT",//
	};
	
	@Override
	protected void initData() {
		this.mNameArray = NAMES;
	}

	@Override
	protected void onItemClick(int index) {
		switch (index) {
		case 0:
			init();
			break;
		default:
			break;
		}
	}
	
	private native void init();
	
	static {
		System.loadLibrary(LIB_GLES);
	}
}
